package com.remist.common;

import org.springframework.context.ApplicationContext;

public class Constant {
	public static int LEVEL_ROOT = 0;
	public static int TYPE_PRODUCT = 1;
	public static int RECORD_STATUS_NORMAL = 1;
	public static int RECORD_STATUS_DEL = -1;
	public static int PAGE_SIZE = 20;
	public static boolean IS_SHOW_VALIDATE_CODE; 
	public static String UPLOAD_PRODUCT= "product";
	public static String WEB_ROOT_PATH = "";
	public static ApplicationContext springCtx;
 
	public static boolean isIS_SHOW_VALIDATE_CODE() {
		return IS_SHOW_VALIDATE_CODE;
	}
	public static void setIS_SHOW_VALIDATE_CODE(boolean iS_SHOW_VALIDATE_CODE) {
		IS_SHOW_VALIDATE_CODE = iS_SHOW_VALIDATE_CODE;
	}
	public static String getWEB_ROOT_PATH() {
		return WEB_ROOT_PATH;
	}
	public static ApplicationContext getSpringCtx() {
		return springCtx;
	}
	public static void setWEB_ROOT_PATH(String wEB_ROOT_PATH) {
		WEB_ROOT_PATH = wEB_ROOT_PATH;
	}
	public static void setSpringCtx(ApplicationContext springCtx) {
		Constant.springCtx = springCtx;
	}
 
	public static int PIC_NUMBER_LIMIT=2048;
 
	
 
}
